Conditions | 3 |
Total Lines | 17 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | class NodeForm { |
||
7 | show() { |
||
8 | this.hasBeenOpened = true; |
||
9 | this.$form.dialog({ |
||
10 | title: this.name, |
||
11 | closeText: LANG.plugins.prosemirror.cancel, |
||
|
|||
12 | width: 800, |
||
13 | appendTo: '.dokuwiki', |
||
14 | modal: true, |
||
15 | open: () => { |
||
16 | const TIMEOUT_TO_LOOK_SMOOTH = 50; |
||
17 | window.setTimeout(() => { |
||
18 | // hack to ensure this dialog is in front of other open dialogs, e.g. the footnote dialog. |
||
19 | this.$form.dialog('moveToTop'); |
||
20 | }, TIMEOUT_TO_LOOK_SMOOTH); |
||
21 | }, |
||
22 | }); |
||
23 | } |
||
24 | |||
65 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.